package com.lcxw.hxzbapi.entity.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Component
@Validated
@Data
public class Cube {

    /**
     *ID
     */
    private Integer id;

    /**
     *giftId 对应gift表中的id
     */
    private Integer giftId;

    /**
     *礼物名称
     */
    private String giftName;

    /**
     *礼物图标地址
     */
    private String url;

    /**
     *概率
     */
    private Integer odds;

    /**
     * 魔方分类，幸运魔方和钻石魔方，luckyCube  luckyCube
     */
    private String type;

    /**
     * 是否爆灯礼物，1：是，0：否
     */
    private int isBaodeng;

    /**
     * 是否启用，1：启用，0：禁用
     */
    private Integer enable;
}
